package com.ruoyi.recycle.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("回收信息统计")
public class RecycleCategoryVO implements Serializable {
    private static final long serialVersionUID = 2966312975272446836L;
    @ApiModelProperty(value = "减碳值")
    private BigDecimal reduceWeightAmount;
    @ApiModelProperty(value = "图标个数")
    private BigDecimal icons;
    @ApiModelProperty(value = "回收分类数据")
    private List<CategoryVO> recycleCategories;

    @Data
    @NoArgsConstructor
    public static class CategoryVO implements Serializable {
        private static final long serialVersionUID = 2716174371263015695L;
        @ApiModelProperty(value = "种类")
        private String category;
        @ApiModelProperty(value = "重量")
        private BigDecimal weight;
    }

}
